Sequencing-based assays for detecting drug resistance